package day13;

class son extends father {
    public son() {
        System.out.println("我是儿子");
    }
}

class father {
    public father(){
        System.out.println("我是爸爸");
    }
}
public class test {
    public static void main(String[] args) {
        father f = new father();
        son s = new son();
    }
}
